package cn.com.self.apis.portal.service.intf;

import cn.com.self.apis.portal.entity.SysUserEntity;
import cn.com.selfsoft.smartcity.core.service.GenericService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

/**
 * @Description
 */
public interface ISysUserService extends GenericService<SysUserEntity, String, SysUserEntity> {
    /**
     * 批量删除
     * @param ids
     * @return
     */
    int deletes(List<Long> ids);

    SysUserEntity checkUser(Map<String, Object> queryParams);


    SysUserEntity selectByOpenid(Long openid);


    SysUserEntity selectOne1(String id);

    Page<SysUserEntity> selectPage(Map<String, Object> queryMap, Pageable page);
}
